<!DOCTYPE html>
   <script src="{{static('js/jquery.min.js')}}"></script>
<!-- saved from url=(0079)https://read.qidian.com/chapter/A5CKSGNt7KidL1xidHTgxA2/lyFwqxCrhen6ItTi_ILQ7A2 -->
<html class="loaded" id="j-readPage"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    
    <title>{{ book.book.name }}_{{ book.content_name }}</title>
    <meta name="description" content="超凡大卫最新章节阅读，超凡大卫是一部奇幻小说,由吃瓜子群众创作,起点提供首发更新。第532章 拜访(2019.03.30)">
    <meta name="keywords" content="超凡大卫,最新,最新章节,奇幻小说,阅读">
    <meta name="robots" content="all">
    <meta name="googlebot" content="all">
    <meta name="baiduspider" content="all">
    <meta http-equiv="mobile-agent" content="format=wml; url=http://m.qidian.com/book/1015042011/458652244">
    <meta http-equiv="mobile-agent" content="format=xhtml; url=http://m.qidian.com/book/1015042011/458652244">
    <meta http-equiv="mobile-agent" content="format=html5; url=http://m.qidian.com/book/1015042011/458652244">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
    <meta name="renderer" content="webkit">
    <script async="" src="{{ static('js/book_js/yep.min.js')}}"></script><script src="{{ static('js/book_js/stats.js')}}" name="MTAH5" sid="500451537"></script><script src="{{ static('js/book_js/push.js')}}"></script><script>
        // 获取cookie
        function getCookie(name) {
            var arr, reg = new RegExp("(^| )" + name + "=([^;]*)(;|$)");
            arr = document.cookie.match(reg);
            if (arr){
                return arr[2];
            }else {
                return null;
            }
        }
        // tf = 1 用户选择，留在PC
        if (getCookie('tf') != 1) {
            if(/Android|Windows Phone|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)){
                window.location.href="//m.qidian.com/book/1015042011/458652244";
            }
        }else{
            // M站设置了一年，这里fixed
            setCookie('tf', 1, 'qidian.com', '/', 0);
        }
    </script>
    <script>
        document.domain = 'qidian.com';
    </script>
    <script>
        var speedTimer = [],
            speedZero = new Date().getTime();
    </script>
    
<script>
    //遇到cookie tf=1的话留在本站，否则跳转移动站
    if (getCookie('tf') != 1) {
        //判断是以下设备后跳转到m站
        if (navigator.userAgent.match(/(iPhone|iPod|Android)/i)) {
            location.href = "//m.qidian.com"
        }
    }else {
        // M站设置了一年，这里fixed
        setCookie('tf', 1, 'qidian.com', '/', 0);
    }
    // start 防劫持
    //设置cookie
    function setCookie(name, value, domain, path, expires) {
        if(expires){
            expires = new Date(+new Date() + expires);
        }
        var tempcookie = name + '=' + escape(value) +
                ((expires) ? '; expires=' + expires.toGMTString() : '') +
                ((path) ? '; path=' + path : '') +
                ((domain) ? '; domain=' + domain : '');
        //Ensure the cookie's size is under the limitation
        if(tempcookie.length < 4096) {
            document.cookie = tempcookie;
        }
    }
    //获取cookie
    function getCookie(name) {
        var arr, reg = new RegExp("(^| )" + name + "=([^;]*)(;|$)");
        if (arr = document.cookie.match(reg))
            return (arr[2]);
        else
            return null;
    }
    //创建并发送请求
    function createSender(url){
        var img = new Image();
        img.onload = img.onerror = function(){
            img = null;
        };
        img.src = url;
    };
</script>

<link data-ignore="true" rel="shortcut icon" type="image/x-icon" href="https://qidian.gtimg.com/qd/favicon/qd_icon.c443c.ico">
<link data-ignore="true" rel="Bookmark" type="image/x-icon" href="https://qidian.gtimg.com/qd/favicon/qd_icon.c443c.ico">


    
<link rel="stylesheet" data-ignore="true" href="{{ static('css/book_css/vote_popup.3844d.css')}}">

<link charset="utf-8" rel="stylesheet" href="{{ static('css/book_css/Panel.css')}}"><link charset="utf-8" rel="stylesheet" href="{{ static('css/book_css/LightTip.css')}}"><link charset="utf-8" rel="stylesheet" href="{{ static('css/book_css/Popup.css')}}"><link charset="utf-8" rel="stylesheet" href="{{ static('css/book_css/Drag.css')}}"><style name="lbf-overlay">.lbf-overlay { position:fixed; top:0; left:0;}</style></head>
<body class="theme-0 section-comment-open" style="zoom: 1;">

    <div class="read-header" id="readHeader" data-l1="40">
    <div class="wrap-center cf">
        <div class="left-nav fl">
            <div class="logo">
                <a class="logo-ico" href="javascript:"></a>
            </div>
            <ul>
                <li class="site" data-l2="1">
                    <a class="pin-logo" href="https://www.qidian.com/" target="_blank" data-eid="qd_R01"><span></span></a>
                    <div class="dropdown">
                        <a href="https://www.qdmm.com/" target="_blank" data-eid="qd_R02">起点女生网</a>
                        <a href="http://chuangshi.qq.com/" target="_blank" data-eid="qd_R03">创世中文网</a>
                        <a href="http://yunqi.qq.com/" target="_blank" data-eid="qd_R04">云起书院</a>
                    </div>
                </li>

            </ul>
        </div>
        <div class="read-login fr">
            <ul>
                <li id="min-search" data-l2="5">
                    <form action="{{ url('index:search') }}" method="get" target="_blank">
                        <input class="submit-input" type="submit" id="searchSubmit" data-eid="qd_R32">
                        <input id="pin-input" class="pin-input hide" name="q" type="text" placeholder="天启预报">
                        <label id="pin-search" for="searchSubmit" data-eid="qd_R32"><em>🔍</em></label>
                    </form>
                </li>
                <li class="line"></li>
                <li class="sign-out" data-l2="6">
                    {% if user %}
                    <a id="pin-login" href="{{ url('user:user_info') }}" data-eid="qd_R33">{{ user.username }}</a>
                    {% else %}
                        <a id="pin-login" href="{{ url('user:login') }}" data-eid="qd_R33">登录</a>
                    <a class="reg" href="{{ url('user:reg') }}" target="_blank" data-eid="qd_R34">注册</a>
                    {% endif %}

                </li>
                <li class="sign-in hidden" data-l2="6">
                    <a href="https://me.qidian.com/Index.aspx" target="_blank" data-eid="qd_R36"><i id="nav-user-name"></i><span></span></a>
                    <div class="dropdown">
                        <a href="https://me.qidian.com/profile/info.aspx" target="_blank" data-eid="qd_R37">账户设置</a>
                        <a href="https://me.qidian.com/account/info.aspx" target="_blank" data-eid="qd_R38">账务中心</a>
                        <a href="https://me.qidian.com/author/authorDoor.aspx" target="_blank" data-eid="qd_R39">作家专区</a>
                        <a id="exit" href="javascript:" data-eid="qd_R40">退出</a>
                    </div>
                </li>
            </ul>
        </div>
    </div>
</div>


<div class="wrap">
    <div id="j_bodyRecWrap" class="hidden" style="display: block;">
<div class="body-rec-wrap" style="background: url(https://img.qidian.com/upload/gamesy/2019/11/27/20191127182148b0hyeu0n70.jpg) center 0 no-repeat;" data-l1="3">
    <div class="body-rec-mask">
        <div class="left-rec-box fl" id="j_leftRecBox"><a href="http://cpgame.qd.game.qidian.com/Home/Index/directLogin/name/ahdts/way/1?qd_game_key=ahdts1920x1057jt.jpg&amp;qd_dd_p1=46473" target="_blank" data-eid="qd_R120" data-qd_dd_p1="1"></a></div>
        <div class="right-rec-box fr" id="j_rightRecBox"> <a href="http://cpgame.qd.game.qidian.com/Home/Index/directLogin/name/ahdts/way/1?qd_game_key=ahdts1920x1057jt.jpg&amp;qd_dd_p1=46473" target="_blank" data-eid="qd_R120" data-qd_dd_p1="1"></a></div>
    </div>
</div></div>
    <div class="crumbs-nav" data-l1="1">
    
    <a href="/" target="_blank" data-eid="qd_G01">首页</a> >>
    <a href="{{ url('book:book', args=(book.book.group.id,)) }}" target="_blank" data-chanid="1" id="j_chanId" data-eid="qd_G02">{{ book.book.group.name }}</a>>>
    
    <a class="act" href="{{ url('book:book_info', args=(book.book.id,)) }}" target="_blank" id="bookImg" data-bid="1015042011">{{ book.book.name }}</a>
</div>
    <div class="main-read-container" id="j-mainReadContainer">
        <div id="paragraph-review-app" class="section-comment-container showSendTextArea"><div class="section-comment-wrap fixed"><div class="section-comment-content"> <div class="send-textarea">

            <textarea placeholder="有想法快写下来吧···" id="j-sendTextArea"></textarea>
            <div class="text-tools"><a onclick="send_commit()" class="red-btn">发表</a>

                <i><em id="j-sendCommentCounter" class="">只能发表1</em>-150</i></div></div> <div class="reviews-wrap"><div class="total"><p>共{{ commit.count() }}条帖子</p></div> <div id="j-reviewWrapList" class="review-wrap-list">
            <ul>
                {% for i in commit %}
                <div class="review-wrap review-item">
                    <div class="review review-1">
                    <div class="review-header">
                        <a>
                            <img src="{{ i.author.img_url }}" class="user-avatar">
                        </a>
                        <div style="display: inline-block;">
                            <a target="" class="user-link">{{ i.author.username }}</a>
                            <div class="info">{{ loop.index }}楼·{{ i.create_time|time_gl }}</div></div></div><div class="review-body">
                    <span class="content">{{ i.commit }}</span><!---->
                </div><div class="review-footer"><span class="action j-open-reply">
                        {% if i.status == 1 %}
                    <img src="http://q2apgq6sj.bkt.clouddn.com/give_a_like.png" id="zan{{ loop.index }}" onclick="zan({{ i.id }}, 1, {{ loop.index }})">
                    {% else %}
                        <img src="https://imgservices-1252317822.image.myqcloud.com/image/20190622/70105696c5f0.png" id="zan{{ loop.index }}" onclick="zan({{ i.id }}, 1, {{ loop.index }})">
                        {% endif %}
                        {{ i.zan_count }}赞</span>
                    <span class="action">
                        {% if i.status == 2 %}
                        <img src="http://q2apgq6sj.bkt.clouddn.com/not_like.png" onclick="cai({{ i.id }}, 2, {{ loop.index }})" id="cai{{ loop.index }}">
                        {% else %}
                        <img src="https://imgservices-1252317822.image.myqcloud.com/image/20190622/9a98e7c73759.png" onclick="cai({{ i.id }}, 2, {{ loop.index }})" id="cai{{ loop.index }}">
                        {% endif %}
                        踩</span>
                </div>
                </div></div>
                {% endfor %}

            </ul>
            <div class="is-end"><p>已显示全部</p></div> <div class="more-page-box" style="display: none;"><div id="j-morePageBox" data-page="1" data-pagemax="100" class="pagination"></div></div></div></div></div></div>

    </div>

        
<div class="read-main-wrap font-family01" style="font-size:18px" id="j_readMainWrap">
        <div id="j_chapterBox" data-l1="3">
            
</div>

            
            
<div class="text-wrap" id="chapter-458652244" data-cid="458652244" data-purl="//read.qidian.com/chapter/A5CKSGNt7KidL1xidHTgxA2/Ljwq4AmDddNMs5iq0oQwLQ2" data-nurl="//read.qidian.com/chapter/A5CKSGNt7KidL1xidHTgxA2/c428sYVNQaKaGfXRMrUjdw2" data-info="0|468560681|458652305|0|0">

    <div class="main-text-wrap " style="background-color: #f8f3e9">
        <div class="text-head">
            <div class="guide-box">
                <cite></cite>
                <p>点击书签后，可收藏每个章节的书签，“阅读进度”可以在个人中心书架里查看</p>
            </div>
            <a class="book-mark" href="javascript:" title="书签" data-cid="458652244" data-bid="1015042011" data-auid="11740631" data-eid="qd_R104"></a>
            <h3 class="j_chapterName" data-type="2">
                <span class="content-wrap">{{ book.content_name }}</span>
            <div class="text-info cf">
                <div class="info fl">
                    <a href="https://book.qidian.com/info/1015042011" target="_blank" data-bid="1015042011" data-auid="11740631" data-eid="qd_R102"><em class="iconfont"></em>超凡大卫</a>
                    
                        <a href="https://me.qidian.com/authorIndex.aspx?id=11740631" target="_blank" data-bid="1015042011" data-auid="11740631" data-eid="qd_R103"><em class="iconfont"></em>吃瓜子群众</a>

                </div>
</div>
        </div>
        {{ book.content | safe }}
        
        <div class="admire-wrap">
            <script>
                (function() {
                    function getCookie(name) {
                        var match = document.cookie.match(new RegExp('(^| )' + name + '=([^;]+)'));
                        if (match) return match[2];
                    }
                    document.getElementById('j_reportBtn').href += ('&_csrfToken=' + getCookie('_csrfToken'))
                })()
            </script>

        <dl class="user-active cf">
</dl></div>
        
        
        
    </div>
</div><!-- start 顶部随机广告 -->

<!-- end 顶部随机广告 -->

        </div>
        
<div class="chapter-control dib-wrap" data-l1="3" style="width: 66.5%">

    {% if prev_page %}
    <a id="j_chapterPrev" data-eid="qd_R107" href="{{ url('book:book_content') }}?book={{ book.book.id }}&num={{ prev_page.order_id }}">上一章</a><span>|</span>
    {% else %}
    <a id="j_chapterPrev" class="disabled" href="javascript:void(0);" style="color: black">第一章</a>
{% endif %}
    <a href="{{ url('book:book_info_catalog', args=(book.book.id, )) }}" target="_blank" data-eid="qd_R108">目录</a><span>|</span>
{% if next_page %}
    <a id="j_chapterNext" href="{{ url('book:book_content') }}?book={{ book.book.id }}&num={{ next_page.order_id }}" data-eid="qd_R109">下一章</a>
    {% else %}
    <a id="j_chapterPrev" class="disabled" href="javascript:void(0);" style="color: black">已达最后一章了</a>

{% endif %}
</div>

        <div class="la-ball-pulse j_chapterLoad hidden">
            <span></span>
            <span></span>
            <span></span>
        </div>
        </div>
    </div>
</div>
<div class="float-wrap" id="j_floatWrap" data-l1="2">
    <div class="left-bar-list" id="j_leftBarList" style="top: 119px;">
        <a href="/"></a>
    </div>
    <div class="right-bar-list" id="j_rightBarList" style="bottom: 0px;">
        <dl>
            <dd id="navReward" data-showtype="3" data-aid="qd_R87">
                <a href="javascript:"><i><em class="iconfont"></em><span>打赏</span></i></a>
                <div class="guide-box">
                    <cite></cite>
                    打赏
                </div>
            </dd>
            <dd id="navTicket" data-showtype="2" data-aid="qd_R88">
                <a href="javascript:"><i><em class="iconfont"></em><span>投票</span></i></a>
                <div class="guide-box">
                    <cite></cite>
                    投票
                </div>
            </dd>
            <dd class="go-top" id="j_goTop" title="返回顶部" data-eid="qd_R90" style="display: none;">
                <a href="javascript:"><i><em class="iconfont"></em></i></a>
            </dd>
            
        </dl>
    </div>
    <div class="guide-btn-wrap">
        <a class="guide-btn" id="j_guideBtn" href="javascript:" data-eid="qd_R41"></a>
    </div>
</div>

<div id="userLevel" class="hidden"></div>
<div id="authorId" data-authorid="11740631" class="hidden"></div>
    <script>
        var keyEvent = (function () {
            document.onkeydown = function (e) {
             if (e.keyCode === 37) { // left
                    var up_get = document.getElementById("j_chapterPrev");
                     up_get.click()
                } else if (e.keyCode === 39) { // right
                    var next = document.getElementById("j_chapterNext")
                 next.click()
                }
            }
        })();

        </script>

<script>
        function send_commit() {
            var book_id = {{ book.book.id }};
            var book_catalog_num = {{ book.order_id }};
            var commit = document.getElementById("j-sendTextArea").value;
            var params = {
            "book_id": book_id,
                "book_catalog_num": book_catalog_num,
                "commit": commit
                };
            if (!commit){
                alert("内容不能为空")
                return
            }
            $.ajax({
            url:"{{ url('user:commit') }}",
            type: "post",
                            headers:{ "X-CSRFtoken":"{{ csrf_token }}"},
            data: JSON.stringify(params),
            contentType: "application/json",
            success: function (resp) {
                if (resp.code == "0"){
                    // 刷新当前界面
                    alert(resp.errmsg)
                    location.href=""
                }else if(resp.code){
                    alert(resp.errmsg);
                }else {
                    alert("请先登录");
                    location.href="/login"
                }
            }
        })

        }

</script>
<script>

    function zan(commit_id, status, id) {
        var zan_img = document.getElementById("zan" + id);
        var cai_img = document.getElementById("cai" + id);
        var params = {
            "commit_id": commit_id,
            "status": status
        };
            $.ajax({
            url:"{{ url('book:book_content') }}",
            type: "post",
                            headers:{ "X-CSRFtoken":"{{ csrf_token }}"},
            data: JSON.stringify(params),
            contentType: "application/json",
            success: function (resp) {
                if (resp.code == "0"){
                    // 刷新当前界面
                    zan_img.src="http://q2apgq6sj.bkt.clouddn.com/give_a_like.png";
                    cai_img.src="https://imgservices-1252317822.image.myqcloud.com/image/20190622/9a98e7c73759.png"
                                        location.href=""
                }else if(resp.code == "8520"){
                    alert("请先登录");
                    location.href="{{ url('user:login') }}"
                }else {
                    alert(resp.errmsg)
                }
            }
        })
    }
</script>

<script>

    function cai(commit_id, status , id) {
        var cai_img = document.getElementById("cai" + id);
        var zan_img = document.getElementById("zan" + id);
        var params = {
            "commit_id": commit_id,
            "status": status
        };
            $.ajax({
            url:"{{ url('book:book_content') }}",
            type: "post",
            data: JSON.stringify(params),
                            headers:{ "X-CSRFtoken":"{{ csrf_token }}"},
            contentType: "application/json",
            success: function (resp) {
                if (resp.code == "0"){
                    // 刷新当前界面
                    zan_img.src="https://imgservices-1252317822.image.myqcloud.com/image/20190622/70105696c5f0.png";
                    cai_img.src="http://q2apgq6sj.bkt.clouddn.com/not_like.png"
                    location.href=""
                }else if(resp.code == "8520"){
                    alert("请先登录");
                    location.href="{{ url('user:login') }}"
                }else {
                    alert(resp.errmsg)
                }
            }
        })
    }
</script>




